﻿using GalaSoft.MvvmLight;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FirstFloor.ModernUI.Presentation;

namespace Export.Ui.ViewModel
{
    public class AdminViewModel : ViewModelBase
    {
        private MainWindowViewModel _mainWindowViewModel;
        private UserContext _currentUser;

        public AdminViewModel(MainWindowViewModel mainWindowViewModel)
        {
            MenuAdminGroups = new LinkCollection();
            _mainWindowViewModel = mainWindowViewModel;
            CreateAdminMenu();
        }

        public LinkCollection MenuAdminGroups { get; private set; }

        public Link SelectedMenuAdmin { get; private set;
        }
        private void CreateAdminMenu()
        {
            MenuAdminGroups.Clear();

            var homeLink = new Link { DisplayName = "User Management", Source = new Uri("/Pages/Admin/UserMaintananceView.xaml", UriKind.Relative) };
            MenuAdminGroups.Add(homeLink);
            //var orderLink = new Link { DisplayName = "Order", Source = new Uri("/Pages/OrderList.xaml", UriKind.Relative) };
            //MenuAdminGroups.Add(orderLink);
            //var queueLink = new Link { DisplayName = "Queue", Source = new Uri("/Pages/QueueView.xaml", UriKind.Relative) };
            //MenuAdminGroups.Add(queueLink);

            SelectedMenuAdmin = homeLink;
        }
    }
}
